Q3Triangle_New
You can use theQ3Triangle_New
function to create a new triangle.
TQ3GeometryObject Q3Triangle_New ( const TQ3TriangleData *triangleData);
triangleData
- A pointer to a
TQ3TriangleData
structure.DESCRIPTION
TheQ3Triangle_New
function returns, as its function result, a new triangle having the vertices and attributes specified by thetriangleData
parameter. If a new triangle could not be created,Q3Triangle_New
returns the valueNULL
.